package com.wanxi.dao.front;

import com.wanxi.domain.front.TypeModel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TypeDao {
    List<TypeModel> findAll(@Param("page") Integer page, @Param("limit")Integer limit);

    int deleteById(int id);

    int insert(TypeDao typeDao);
}
